#!/usr/bin/env python
from distutils.core import setup, Command
import os
import re
import sys

from modelfields import __version__


cmdclasses = dict()
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)),
                           'README.md')
long_description = open(README_PATH, 'r').read()



setup(
    name='django-modelfields',
    description='Select model choices in a single Django model field',
    long_description=long_description,
    version=__version__,
    license='BSD',
    keywords=[
        'select', 'select model', 'Django', 'model-field',
        'django-modelfields'],
    author='Kelvin Wong',
    author_email='code@kelvinwong.ca',
    classifiers=['Development Status :: 3 - Alpha',
                 # 'Development Status :: 4 - Beta',
                 'Environment :: Web Environment',
                 'Framework :: Django',
                 'Intended Audience :: Developers',
                 'License :: OSI Approved :: BSD License',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Programming Language :: Python :: 2.7',
                 'Programming Language :: Python :: 3',
                 'Programming Language :: Python :: 3.2',
                 'Programming Language :: Python :: 3.3',
                 'Programming Language :: Python :: 3.4',
                 'Programming Language :: Python :: 3.5',
                 'Topic :: Internet :: WWW/HTTP'],
    packages=['modelfields'],
    cmdclass=cmdclasses
)
